<!DOCTYPE html>
<html>
{include file="public/head" /}
<body>
<div class="box-body">
        <form id="myform" class="myform form-horizontal"  method="post">
        <input type="hidden" name="id" value="{$info['id']|default=''}">
          <div class="row">
            <div class="col-md-12">
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">导航分类：</span>
                </div>
                <!-- /btn-group -->
                <select name="cid" class="form-control select2" style="width:100%">
                        <option value="1">网站前台</option>
                        <option value="2" {eq name="info.cid" value="2"}selected{/eq}>会员中心</option>
                    </select>
              </div>           
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">导航名称：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control" name="name" value="{$info.name|default=''}"  autocomplete="off"  required="required" placeholder="导航名称必填">
              </div>              
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">导航地址：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control" name="url" value="{$info.url|default=''}"  autocomplete="off" required="required" placeholder="导航地址必填">
              </div> 
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">导航图标：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control" name="ico" value="{$info.ico|default=''}">
              </div>
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">导航排序：</span>
                </div>
                <!-- /btn-group -->
               <input type="text" class="form-control" name="oid" value="{$info.oid|default='0'}" autocomplete="false" placeholder="越小越前面" style="text-align:center; width:auto">
              </div>               
                                                                                              
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">导航状态：</span>
                </div>
                <!-- /btn-group -->
                <select name="status" class="form-control select2 select2-hidden-accessible" style="width: 100%;" tabindex="-1" aria-hidden="true">
          <option value="1">显示</option>
          <option value="0" {eq name="info.status" value="0" }selected{/eq}>隐藏</option>
                </select>
              </div>   
              
                                                                     
            </div>          
          </div>
          <!-- /.row -->
        <div class="box-footer {notempty name=":request()->param('dialog')"}hidden{/notempty} layer-footer">
          <div  class="footer-btn">
               <button type="submit" class="btn btn-success btn-embossed">确定</button>
               <button type="reset" class="btn btn-default btn-embossed">重置</button>
               {notempty name=":request()->param('dialog')"}
               <button type="reset" class="btn btn-primary btn-embossed btn-close" onClick="layer.closeAll();"> 关闭</button>
               {/notempty}
            </div>
       </div>
       <!-- /.box-footer -->     
</form>
</div>

{include file="public/footer" /}
<!-- /.box-body -->    
<script type="text/javascript">
$(document).ready(function(){
	zanpian.cms.all();	
	
});	
</script>	
</body>
</html>
